package com.yylending.las.common.widgets;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;

/**
*
* @author lenovo
* @date 2017/4/13 9:29
*/
public class TotalDisplayRecycleView extends RecyclerView {

	public TotalDisplayRecycleView(Context context) {
		super(context);
	}

	public TotalDisplayRecycleView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public TotalDisplayRecycleView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, expandSpec);
	}
}
